package com.lbc.common.exception;

/**
 * @author XYL
 * @date 2021-04-28 8:32
 */
public class CustomException extends RuntimeException{

    private CustomException(String message) {
        super(message);
    }

    public static void cast(String message) throws RuntimeException{
        throw new CustomException(message);
    }
}
